#include "dataset.h"

ifstream& operator >> (ifstream &rhs, apriori_test::dataset &set)
{
	set.read(rhs);
	return rhs;
}

stringstream& operator >> (stringstream &rhs, apriori_test::dataset &set)
{
	set.read(rhs);
	return rhs;
}

istream& operator >> (istream &rhs, apriori_test::dataset &set)
{
	set.read(rhs);
	return rhs;
}

ofstream& operator << (ofstream &rhs, apriori_test::dataset &set)
{
	set.write(rhs);
	return rhs;
}

stringstream& operator << (stringstream &rhs, apriori_test::dataset &set)
{
	set.write(rhs);
	return rhs;
}

ostream& operator << (ostream &rhs, apriori_test::dataset &set)
{
	set.write(rhs);
	return rhs;
}

